javascript split and trim

43

javascript split and trim -

var arr = str.split(",").map(item => item.trim());

Comments

Submit
0 Comments